home *** CD-ROM | disk | FTP | other *** search
- ;goto start
- FailAt 20
- lodlib bsh.library
- bsh install
- Quit
- label start
- local sysname
- set sysname "`pwd sys:`"
- sysname=devname(sysname)
- if sysname==devname(cwd)
- # you booted off this disk; I can't deal with that.
- echo first Assign sys: to your system disk, then do this again.
- exit 20
- endif
- if ! -d sys:scripts
- mkdir sys:scripts
- endif
- cp -cn scripts.info sys:
- cp -cn ack ascii arrow{,.info} dir error fact head hithere sys:scripts
- cp -cn install m mkpath mvdir pop pr showtime{,.info} sys:scripts
- cp -cn push shar tee time uniq uue war whatis where .info sys:scripts
- cp -cn binary hex nice octal sys:scripts
- cp -cu bsh.library sys:libs
- cp -cu bsh c:
- cp -cn test ls c:
- cp -cu newbsh{,.info} sys:system
- cp -cu .login .bshrc sys:s
- # you can Execute this script to install the stuff on this disk. You
- # should have booted first from your usual system disk, then cd to this
- # dir and type:
- # 1> Execute install
- # If the directory sys:scripts does not exist, it will be created; then
- # the all of the included scripts will be copied to sys:scripts. Feel
- # free to modify the destination of any of these files, however, if
- # you change sys:scripts, then also modify the line 'set path ....' in
- # .bshrc to reflect the change. Bsh and newbsh can be anywhere in your
- # CLI path. If you change the destination for newbsh, you will also
- # need to change the default tool in the script icons provided (if you
- # plan on running them from workbench). If your system disk is short
- # on space, the minimum subset of files to install is: bsh, newbsh,
- # bsh.library, .login and .bshrc.
-